<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>优惠券</title>
    <link rel="stylesheet" href="../css/reset.css" />
    <style>
      .ticket {
        position: relative;
        width: 400px;
        height: 150px;
        border-radius: 15px;
        color: #fff;
        background-color: #ff4d4d;
        text-align: center;
        margin: 100px auto;
      }

      .ticket h3 {
        font-size: 20px;
        padding-top: 10px;
      }

      .ticket h3 span {
        font-size: 35px;
      }

      .ticket p {
        font-size: 20px;
      }

      .ticket hr {
        width: 300px;
        border: 1px dashed #fff;
        margin: 15px auto;
      }

      .ticket a {
        display: block;
        width: 100px;
        height: 30px;
        line-height: 30px;
        color: #ff4d4d;
        font-weight: bolder;
        background-color: #fff;
        border-radius: 12px;
        margin: 0 auto;
      }

      .ticket .gap {
        position: absolute;
        top: 50%;
        margin-top: -10px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: #fff;
      }
      .ticket .left {
        left: -10px;
      }

      .ticket .right {
        right: -10px;
      }
    </style>
  </head>
  <body>
    <div class="ticket">
      <div class="gap left"></div>
      <div class="gap right"></div>
      <h3>&yen; <span>10</span></h3>
      <p>满99元使用</p>
      <hr />
      <a href="#">立即领取</a>
    </div>
  </body>
</html>
